<template>
	<div class="game">
		<h3>游戏分类</h3>
		<!-- 默认插槽 -->
		<slot a="hello" b="atguigu" c="wangkai" :youxis="games">默认的内容</slot>
	</div>
</template>

<script>
	export default {
		name:'Game',
		data() {
			return {
				games:['红色警戒','穿越火线','劲舞团','超级玛丽']
			}
		},
	}
</script>

<style>
	.game{
		width: 200px;
		height: 300px;
		background-color: skyblue;
		border:1px solid black;
	}
	h3{
		background-color: orange;
		text-align: center;
	}
</style>